<?php

namespace common\models\AgentPlugs;

use Yii;

/**
 * This is the model class for table "agent_plugs".
 *
 * @property string $id
 * @property string $agent_uid
 * @property string $plug_id
 */
class AgentPlugsBase extends \common\models\CommonModel\CommonModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'agent_plugs';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['agent_uid', 'plug_id'], 'required'],
            [['agent_uid', 'plug_id'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'agent_uid' => 'Agent Uid',
            'plug_id' => 'Plug ID',
        ];
    }
}
